import { configureStore } from '@reduxjs/toolkit';
import userReducer from './slice/auth';
import menuReducer from './slice/menu';
import tabReducer from './slice/tab';


export const store = configureStore({
  reducer: {
    menuSlice: menuReducer,
    authSlice: userReducer,
    tabSlice: tabReducer
  }
});

export type AppDispatch = typeof store.dispatch;
